package org.thanos.demo.bootstrap;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ComponentScan("org.thanos.demo")
@EnableConfigServer
@EnableTransactionManagement
public class JdbcConfigCenterApp {
    public static void main(String[] args) {
        new SpringApplicationBuilder(JdbcConfigCenterApp.class)
                .web(WebApplicationType.SERVLET)
                .run(args);
    }
}
